# Description: PEM formatında Mozilla CA sertifika paketi
# URL: http://search.cpan.org/
# Packager: milisarge
# Depends on:

name=perl-mozilla-ca
version=20130114
release=1

source=(http://search.cpan.org/CPAN/authors/id/A/AB/ABH/Mozilla-CA-$version.tar.gz)

build() {
export PERL_MM_USE_DEFAULT=1 PERL_AUTOINSTALL=--skipdeps
unset PERL5LIB PERL_MM_OPT

cd Mozilla-CA-$version
perl Makefile.PL
make
make install INSTALLDIRS=vendor DESTDIR=$PKG
find $PKG \
         -name '*.bs' -or \
         -name '.packlist' -or \
         -name 'perllocal.pod' | xargs rm
}
